package com.book.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 125715
 * @Package: com.book.model.dto
 * @Date: 2025/4/7 17:01
 * @Description: 用户查询
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户查询---DTO")
public class UserQueryPageDTO {

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "页码")
    private Integer page;

    @Schema(description = "每页条数")
    private Integer size;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "是否管理员账号")
    private boolean admin;
}
